//
//  NotSelPjtVCCell.m
//  efairy
//
//  Created by 李锋 on 2019/3/26.
//  Copyright © 2019年 East. All rights reserved.
//

#import "NotSelPjtVCCell.h"

@implementation NotSelPjtVCCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if(self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]){
        [self initView];
    }
    return self;
}

-(void)initView{
    self.contentView.backgroundColor = ColorFromRGB(0xffffff);
    _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(12, 0, SCREEN_WIDTH, 44)];
    _titleLabel.textColor = ColorFromRGB(0x666666);
    _titleLabel.font = [UIFont systemFontOfSize:14.f];
    [self.contentView addSubview:_titleLabel];
    [self setupAutoHeightWithBottomView:_titleLabel bottomMargin:0];
}

- (void)setDataModel:(EFAPjtListItem *)data{
    _titleLabel.text = data.efairyproject_name;
}

@end
